package com.sanyue.futu;

/**
 * @author sanyue
 * @version 1.0
 * @description: TODO
 * @date 2022/3/5 下午5:49
 */
public class test {
   static test test1 = new test();
   static test test2 = new test();

    static {
        System.out.println("静态块");
        test1.print();
        System.out.println(test1.equals(test2));
        System.out.println("1".equals("1"));
        String temp = "1" + "2";
    }

    static void print(){
        System.out.println("静态方法");
    }

   public static void main(String[] args){
       test test3 = new test();
       test3.print();
   }

    
}
